#ifndef     __MOTORS_H
#define     __MOTORS_H

#include "../utils/nocopyable.h"
#include "../utils/error.h"

namespace pearl_driver {

class Motors : private NoCopyable {

public:
    static constexpr uint32_t DUMP_TIMEOUT = 8 * 1000;
    static constexpr uint32_t DUMP_ALM = 100;

    void init();

    Error dump_top(); // 倾倒
    Error dump_bottom(); // 复位

private:

};

extern Motors motors;

}



#endif
